package cn.iocoder.yudao.module.book.controller.app.category.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "APP - 绘本集详情 Response VO")
@Data
public class AppCollectionDetailRespVO {

    @Schema(description = "绘本集ID", example = "1001")
    private String collectionId;

    @Schema(description = "标题", example = "小红帽")
    private String title;

    @Schema(description = "封面图片", example = "https://example.com/cover1.jpg")
    private String image;

    @Schema(description = "作者", example = "格林兄弟")
    private String author;

    @Schema(description = "绘本页数", example = "12")
    private Integer bookCnt;

    @Schema(description = "阅读次数", example = "156")
    private Integer readCount;

    @Schema(description = "收藏次数", example = "23")
    private Integer collectCount;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "状态：1-正常，0-下架", example = "1")
    private Integer status;

    @Schema(description = "标签", example = "[\"童话\", \"经典\"]")
    private List<String> tags;

    @Schema(description = "难度等级", example = "初级")
    private String difficulty;

    @Schema(description = "语言：zh-中文，en-英文", example = "zh")
    private String language;

    @Schema(description = "当前用户是否已收藏", example = "true")
    private Boolean isCollected;

    @Schema(description = "当前用户是否已阅读", example = "false")
    private Boolean isRead;

    @Schema(description = "最后阅读时间")
    private LocalDateTime lastReadTime;
}
